package team.shixi.houtai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author Zhangrt
 * @Description 商品表
 * @create 2023-01-10 16:43
 */
@TableName("tbl_goods")
@Data
public class Goods implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    private String detail;
    private String gname;
    private int price;
    private int amount;
    private LocalDateTime time;
    private int status;
    private int uid;
    private int cid;
    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String type;
}
